package com.gitee.flow.service;

import com.gitee.flow.entity.HiTaskinstEntity;
import com.gitee.jmash.core.orm.tenant.TenantService;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import jmash.flow.protobuf.HiTaskinstReq;

/**
 * act_hi_taskinst服务Read接口.
 *
 * @author <a href="mailto:service@crenjoy.com">crenjoy</a>
 */
public interface HiTaskinstRead extends TenantService {

  /** 根据主键查询. */
  public HiTaskinstEntity findById(@NotNull String entityId);

  /** 综合查询. */
  public List<HiTaskinstEntity> findListByReq(@NotNull @Valid HiTaskinstReq req);

}
